package com.stony.poie.demo.group;

import java.math.BigDecimal;

import com.stony.poie.basic.XlsTRow;

public class GroupDemoGoods implements XlsTRow {

	private String name;

	private BigDecimal price;

	private BigDecimal quantity;

	private BigDecimal discount;

	public BigDecimal getDiscount() {

		return discount;

	}

	public void setDiscount(BigDecimal discount) {

		this.discount = discount;

	}

	public String getName() {

		return name;

	}

	public void setName(String name) {

		this.name = name;

	}

	public BigDecimal getPrice() {

		return price;

	}

	public void setPrice(BigDecimal price) {

		this.price = price;

	}

	public BigDecimal getQuantity() {

		return quantity;

	}

	public void setQuantity(BigDecimal quantity) {

		this.quantity = quantity;

	}

	public Object[] getXlsContents() {

		return new Object[] { name, price, quantity, discount };

	}

}
